package com.xiake.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiake.pojo.Headline;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiake.pojo.vo.PortalVo;
import com.xiake.utils.Result;

import java.util.Map;

/**
* @author 周清峰
* @description 针对表【news_headline】的数据库操作Service
* @createDate 2024-03-12 14:19:43
*/
public interface HeadlineService extends IService<Headline> {

    Result findNewPage(PortalVo portalVo);


    Result showHeadlineDetail(Integer hid);

    Result publish(Headline headline, String token);

    Result findHeadlineByHid(Integer hid);

    Result updateData(Headline headline);
}
